package com.example.forum.model;

import lombok.Data;

import java.util.Date;
@Data
public class ArticleReply {
    //编号 自增主键
    private Long id;

    //贴子id 关联article表
    private Long articleId;

    //回复的用户id
    private Long postUserId;

    //忽略
    private Long replyId;
    private Long replyUserId;

    //回复正文
    private String content;

    //忽略,回复点赞功能
    private Integer likeCount;

    //0正常    1禁用
    private Byte state;

    //0正常    1删除
    private Byte deleteState;

    //创建时间
    private Date createTime;

    //回复时间
    private Date updateTime;


    //关联对象  表示回复的发送者
    private User user;
}